package com.gxy.learn.pay.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 加密方式枚举
 * @author gxy
 */
@Getter
@AllArgsConstructor
public enum PayOrderTypeEnum {
    /**
     * 订单类型 1 支付宝 2微信
     */
    ALIPAY(1,"支付宝"),
    WECHATPAY(2,"微信");
    final Integer code;
    final String name;

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
